home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / comm / tcp / Amster.lha / Amster_Install / Source / include / download.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-24  |  1.0 KB  |  50 lines

  1. /*
  2. ** Download Header
  3. */
  4.  
  5. #include <sys/types.h>
  6. #include <libraries/dos.h>
  7.  
  8. #include "include/napster.h"
  9. #include "include/thread.h"
  10.  
  11. #ifndef AMSTER_DOWNLOAD_H
  12. #define AMSTER_DOWNLOAD_H
  13.  
  14. extern int dl_count;
  15. extern int QueueCount;
  16.  
  17. #define DL_ADD            0x1003
  18. #define DL_START          0x1004
  19. #define DL_UPDATE         0x1010
  20. #define DL_CPS            0x1011
  21. #define DL_PLAY           0x1020
  22. #define DL_ABORT          0x1021
  23. #define DL_RESUME         0x1022
  24. #define DL_CLEANUP        0x1023
  25. #define DL_CLEANUP_SINGLE 0x1024
  26. #define DL_COUNTDECREMENT 0x1040
  27. #define DL_COUNTINCREMENT 0x1041
  28. #define DL_CHECKQUEUE     0x1042
  29. #define DL_INFO       0x1050
  30. #define DL_SETERROR   0x1051
  31. #define DL_RETRY      0x1052
  32. #define DL_POLLWAIT   0x1053
  33. #define DL_SETDELAY   0x1054
  34. #define DL_REMWAITING 0x1055
  35. #define DL_WATCHER    0x1056
  36.  
  37. enum HandlerFunc {
  38.     DLC_STATE,
  39.     DLC_SIZE,
  40.     DLC_ADDSHARE,
  41.     DLC_UPDATE
  42. };
  43.  
  44. /* Public functions */
  45.  
  46. extern MUIF dl_dispatch(REG(a0) struct IClass *cl,REG(a2) Object *obj,REG(a1) Msg msg);
  47.  
  48.  
  49. #endif    /* AMSTER_DOWNLOAD_H */
  50.